import * as tslib_1 from "tslib";
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository } from '@farris/bef';
import { GlzdEntity } from './entities/glzdentity';
import { GlzdProxy } from './glzdproxy';
var GlzdRepository = /** @class */ (function (_super) {
    tslib_1.__extends(GlzdRepository, _super);
    function GlzdRepository(injector) {
        var _this = _super.call(this, injector) || this;
        _this.name = 'GlzdRepository';
        _this.paginationInfo = {
            GlzdEntity: {
                pageSize: 20,
            }
        };
        _this.proxy = injector.get(GlzdProxy, null);
        return _this;
    }
    GlzdRepository = tslib_1.__decorate([
        Injectable(),
        NgRepository({
            apiUrl: 'api/businessdevelopmentcenter/jmgl/v1.0/glzdfl_frm',
            entityType: GlzdEntity
        }),
        tslib_1.__metadata("design:paramtypes", [Injector])
    ], GlzdRepository);
    return GlzdRepository;
}(BefRepository));
export { GlzdRepository };
